package com.ea.admin.pojo.param.account;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BlockAdminParam {
    @ApiModelProperty(value = "管理员的账号id", required = true)
    @NotBlank(message = "管理员的账号id不能为空")
    private String accountId;

    @ApiModelProperty(value = "是否禁用 0-否 1-是", required = true)
    @NotNull(message = "是否禁用不能为空")
    private Integer isBlock;
}
